using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LitTools;
namespace LitToolsTest
{
    public class MoveToIdle : Translater
    {
        public override bool TranslateCheck()
        {
            if (Input.GetKeyUp(KeyCode.W))
            {
                Debug.Log("MoveToIdle");
                return true; 
            }
            else if (Input.GetKeyUp(KeyCode.S))
            {
                Debug.Log("MoveToIdle");
                return true;
            }
            else
                return false;
        }
    }

    public class IdleToMove : Translater
    {
        public override bool TranslateCheck()
        {
            if (Input.GetKey(KeyCode.W))
            {
                Debug.Log("IdleToMove");
                return true; 
            }
            else if (Input.GetKey(KeyCode.S))
            {
                Debug.Log("IdleToMove");
                return true;
            }
            else
                return false;
        }
    }
}